package net.wanho.service;

import net.wanho.dto.UserInfoDTO;
import net.wanho.dto.UserPwdDTO;
import net.wanho.po.AuthInfo;
import net.wanho.po.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import net.wanho.vo.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;

/**
* @author Administrator
* @description 针对表【user_info(用户表)】的数据库操作Service
* @createDate 2025-01-10 17:10:35
*/
public interface UserInfoService extends IService<UserInfo> {

    PageInfo<UserInfo> listPage(int pageNum, int pageSize, UserInfoDTO userInfoDTO);

    List<AuthInfo> findMenu();

    void modifyPwd(UserPwdDTO userPwdDTO);

    String modifyAvatar(Integer id, MultipartFile file);
}
